package cn.iocoder.yudao.module.member.controller.admin.user.vo;

import io.swagger.v3.oas.annotations.media.Schema;
import jakarta.validation.constraints.NotEmpty;
import jakarta.validation.constraints.NotNull;
import lombok.Data;

import java.time.LocalDateTime;
import java.util.List;

@Schema(description = "管理后台 - 会员用户新增/修改 Request VO")
@Data
public class MemberUserSaveReqVO {

    @Schema(description = "编号", requiredMode = Schema.RequiredMode.REQUIRED, example = "4874")
    private Long id;

    @Schema(description = "手机号")
    private String mobile;

    @Schema(description = "密码", requiredMode = Schema.RequiredMode.REQUIRED)
    @NotEmpty(message = "密码不能为空")
    private String password;

    @Schema(description = "类型,0-个人用户 1-公司用户", requiredMode = Schema.RequiredMode.REQUIRED, example = "1")
    private Integer type;

    @Schema(description = "注册终端")
    private Integer registerTerminal;

    @Schema(description = "用户昵称", requiredMode = Schema.RequiredMode.REQUIRED, example = "王五")
//    @NotEmpty(message = "用户昵称不能为空")
    private String nickname;

    @Schema(description = "头像", requiredMode = Schema.RequiredMode.REQUIRED)
//    @NotEmpty(message = "头像不能为空")
    private String avatar;

    @Schema(description = "真实名字", example = "赵六")
    private String name;

    @Schema(description = "所在地", example = "27509")
    private Long areaId;

    @Schema(description = "出生日期")
    private LocalDateTime birthday;

    @Schema(description = "会员备注")
    private String mark;

    @Schema(description = "支付密码")
    private String payPassword;

    @Schema(description = "银行卡手机号", requiredMode = Schema.RequiredMode.REQUIRED)
    @NotNull(message = "银行卡手机号不能为空")
    private String bankMobile;

    @Schema(description = "银行卡号", requiredMode = Schema.RequiredMode.REQUIRED, example = "6263")
    @NotEmpty(message = "银行卡号不能为空")
    private String bankId;

    @Schema(description = "身份证号", requiredMode = Schema.RequiredMode.REQUIRED, example = "21066")
    @NotEmpty(message = "身份证号不能为空")
    private String identityId;

    @Schema(description = "身份证照片", requiredMode = Schema.RequiredMode.REQUIRED)
    @NotEmpty(message = "身份证照片不能为空")
    private String identityPicFont;

    @Schema(description = "身份证照片后")
    private String identityPicBack;

    @Schema(description = "人脸照片")
    private String liveIdentityPic;

    @Schema(description = "银行卡照片", requiredMode = Schema.RequiredMode.REQUIRED)
    @NotEmpty(message = "银行卡照片不能为空")
    private String bankPic;


    private String bankName;
    private String bankAddress;

    private String shopName;
    private String shopDesc;
    private String shopAddress;
    private String socialCreditId;
    private List<String> businessLicensePic;
    private List<String> shopPic;

}